-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: improve mapper documentation via adding user-context #3000
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
The changes introduced in this PR significantly enhance the quality and usability of the thin-edge.io documentation.
-
The updated and new content is accurate, comprehensive, and well-structured, providing a better resource for users.
Robot Results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though I am not for the idea of inciting the users to copy/paste sudo commands, I have to acknowledge that the user experience is great, only having to adapt a few settings to see personalized examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved
Signed-off-by: Reuben Miller <[email protected]>
Signed-off-by: Reuben Miller <[email protected]>
3129bd6
to
ef95336
Compare
Proposed changes
This PR was created after an interaction with a user trying to use thin-edge.io with AWS IoT Core. Due to the complexity of setting the AWS policy (as the policy needs to be changed to include the user's AWS IoT settings), it lead to invalid settings being used.
Adding user context to the getting started and "connect" documentation to allow users to provide their URLs so that the commands will be updated to use the given user context to make it easier to use and understand (and hopefully less user-errors).
The user-context functionality is provided by new React JS components which are included in thin-edge/tedge-docs#78
Features
Example
At the top of the page (where the user context has been added to), shows a form which the user can edit add add the relevant values such as URLs, account details etc.
Afterwards, the code blocks (which are wrapped in
<UserContext>
components), below shows an example given the pre-filled user context.Types of changes
Paste Link to the issue
#2999
Checklist
cargo fmt
as mentioned in CODING_GUIDELINEScargo clippy
as mentioned in CODING_GUIDELINESFurther comments